<?php
return array(

	'rules'=>array(
		array('scenic_id,ticket_type,tickets_notice','required'),
	),
	'attributeLabels' => array(
		'scenic_id' => '景区',
		'ticket_type' => '门票类型',
		'tickets_notice' => '订票须知',
		'period' => '季节',
	),
	'relations' => array(
		'goods' => array(CActiveRecord::BELONGS_TO,'Scenic','goods_id'),
        'company' => array(CActiveRecord::BELONGS_TO,'CompanyScenic','scenic_id'),
	),

	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);